package yf.mall.entity;


import lombok.Setter;
import lombok.Getter;
import java.io.Serializable;
import java.util.Date;

import java.math.BigDecimal;

/**
 * 实体
 * 表名 mall_card
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Sep 10 13:15:02 CST 2020
 */
@Setter
@Getter
public class MallCardEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
        //卡号
    private String code;
    private Long userId;
        //录入时间
    private Date createTime;
        //起止时间
    Date[] createTimes;
        //使用时间
    private Date updateTime;
        //起止时间
    Date[] updateTimes;
        //使用用户
    private String userName;
    private String userCode;
        //可抵扣金额
    private BigDecimal price;

    private String goodsName;
    public MallCardEntity(){

    }

    public MallCardEntity(String code, Date createTime, BigDecimal price, String goodsName) {
        this.code = code;
        this.createTime = createTime;
        this.price = price;
        this.goodsName = goodsName;
    }
}
